home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / doc / xml-core / examples / foo.postrm < prev    next >
Encoding:
Text File  |  2007-03-10  |  726 b   |  27 lines

  1. #!/bin/sh
  2. ## ----------------------------------------------------------------------
  3. ## debian/postrm: postremoval script for foo
  4. ## ----------------------------------------------------------------------
  5.  
  6. ## ----------------------------------------------------------------------
  7. ## Abort if any command returns an error value
  8. set -e
  9.  
  10. ## --------------------------------------------------------------
  11. ## Remove package XML catalog file
  12. if [ "$1" = "purge" ]
  13. then
  14.  
  15.     rm -f /etc/xml/foo.xml
  16.     rm -f /etc/xml/foo.xml.old
  17.  
  18. fi
  19.  
  20. ## ----------------------------------------------------------------------
  21. ## Automatically added sections
  22. #DEBHELPER#
  23.  
  24. exit 0
  25.  
  26. ## ----------------------------------------------------------------------
  27.